package com.outsource.framework.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name="t_columns_extend")
@GenericGenerator(name="t_ce_identity",strategy="identity")
@JsonIgnoreProperties(value={"version"})
public class Tcolumnse implements Serializable{

	private static final long serialVersionUID = -7010575530088992792L;

	@Id
	@Column(name="id",nullable=false,length=11)
	@GeneratedValue(generator="t_ce_identity")
	private Integer id;
	
	@Column(name="name")
	private String name;

	@Column(name="outer_link")
	private String outerlink;
	
	@Column(name="version")
	private Integer version;
	
	public Tcolumnse(){}
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getOuterlink() {
		return outerlink;
	}

	public void setOuterlink(String outerlink) {
		this.outerlink = outerlink;
	}

	public Integer getVersion() {
		return version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}
}
